package com.eight.cloud.payment.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eight.cloud.mybatisplus.entity.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商户实体
 *
 * @ClassName: MerchantEntity
 * @Author: TXC
 * @Date: 2024-10-21 16:29
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_payment_merchant")
public class MerchantEntity extends TenantEntity<MerchantEntity> {
    private static final long serialVersionUID=1L;

    /**
     * 子商户的商户号
     */
    @TableField("sub_merchant_id")
    private String subMerchantId;


    /**
     * 是否为默认支付账号
     */
    @TableField("is_default")
    private int isDefault;
    /**
     * 描述
     */
    @TableField("description")
    private String description;

    /**
     * 支付类型（如：微信/支付宝等）
     */
    @TableField("pay_type")
    private String payType;

}
